package cn.lixin.hrm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)  //不扫描数据库
@MapperScan("cn.lixin.hrm.mapper")
@EnableCaching // 开启缓存支持
@EnableFeignClients
public class UserApp1090 {
    public static void main(String[] args) {
        SpringApplication.run(UserApp1090.class);
    }
}
